package com.antaohua.tools.shares.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.antaohua.tools.framework.base.model.BaseModel;
import com.antaohua.tools.framework.base.model.UUIDIdentityModel;

@Entity
@Table(name="shares_stock")
public class SharesStockEntity extends UUIDIdentityModel{


	
	

	//股票编号
	@Column(name ="code",length=10,nullable=false)
	private String code;
	
	//股票名称
	@Column(name ="Name",length=20,nullable=false)
	private String Name;
	
	//上证、深证、香港
	@Column(name ="market",length=10,nullable=false)
	private String market;
	
	//拼音
	@Column(name ="pingyin",length=10)
	private String pingyin;
	
	//总股本，万股
	@Column(name ="totalcapital",precision = 10, scale = 6)
	private Double totalcapital;
	
	 //每股净资产（元）
	@Column(name ="mgjzc",precision = 4, scale = 4)
	private Double mgjzc;
	
	//流通股本，万股
	@Column(name ="currcapital",precision = 10, scale = 4)
	private Double currcapital;
	
	//四季度净利润（亿元）
	@Column(name ="profit_four",precision = 10, scale = 8)
	private Double profit_four;
	
	//上市日期
	@Column(name ="listing_date")
	private Date listing_date;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getMarket() {
		return market;
	}

	public void setMarket(String market) {
		this.market = market;
	}

	public String getPingyin() {
		return pingyin;
	}

	public void setPingyin(String pingyin) {
		this.pingyin = pingyin;
	}

	public Double getTotalcapital() {
		return totalcapital;
	}

	public void setTotalcapital(Double totalcapital) {
		this.totalcapital = totalcapital;
	}

	public Double getMgjzc() {
		return mgjzc;
	}

	public void setMgjzc(Double mgjzc) {
		this.mgjzc = mgjzc;
	}

	public Double getCurrcapital() {
		return currcapital;
	}

	public void setCurrcapital(Double currcapital) {
		this.currcapital = currcapital;
	}

	public Double getProfit_four() {
		return profit_four;
	}

	public void setProfit_four(Double profit_four) {
		this.profit_four = profit_four;
	}

	public Date getListing_date() {
		return listing_date;
	}

	public void setListing_date(Date listing_date) {
		this.listing_date = listing_date;
	}
	
	
	
	
	

}
